package com.ykfk.cngrain.tbw.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

/**
 * 
 * @类名 TbRole
 * @描述 TbRole 实体类
 * @作者 wdfang
 * @日期 2013-1-30 下午7:16:01
 * ========修改日志=======
 *
 */
@Table("TB_ROLE")
public class TbRole {
	@Name
	@Column("roleCode")
	private String roleCode;
	@Column("roleName")
	private String roleName;
	@Column("sortOrder")
	private Integer sortOrder;
	@Column("memo")
	private String memo;

	public TbRole() {
	}

	public TbRole(String roleCode, String roleName) {
		this.roleCode = roleCode;
		this.roleName = roleName;
	}

	public TbRole(String roleCode, String roleName, Integer sortOrder,
			String memo) {
		this.roleCode = roleCode;
		this.roleName = roleName;
		this.sortOrder = sortOrder;
		this.memo = memo;
	}

	public String getRoleCode() {
		return this.roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getSortOrder() {
		return this.sortOrder;
	}

	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
}